<template>
  <div class="mine">
    <div class="content-wrapper">
      <img src="../../assets/logo.png" alt="应用Logo" class="logo">
      <div class="instructions">
        <h1>操作说明</h1>
        <div class="instruction-card">
          <h2>.memo 桌面笔记应用</h2>
          <p class="app-description">这是一个简洁易用的桌面笔记应用，帮助您高效记录和管理日常想法、任务和灵感。</p>
          
          <div class="features">
            <div class="feature-item">
              <div class="feature-icon">📝</div>
              <div class="feature-content">
                <h3>创建笔记</h3>
                <p>在首页左侧可以创建新的笔记，点击"+"按钮开始记录您的想法</p>
              </div>
            </div>
            
            <div class="feature-item">
              <div class="feature-icon">📁</div>
              <div class="feature-content">
                <h3>文件夹管理</h3>
                <p>可以创建文件夹来分类管理您的笔记，便于查找和组织</p>
              </div>
            </div>
            
            <div class="feature-item">
              <div class="feature-icon">📅</div>
              <div class="feature-content">
                <h3>日记功能</h3>
                <p>使用日记功能记录您的每日心情和重要事件</p>
              </div>
            </div>
            
            <div class="feature-item">
              <div class="feature-icon">🔍</div>
              <div class="feature-content">
                <h3>快速搜索</h3>
                <p>通过标题快速搜索您的笔记内容</p>
              </div>
            </div>
            
            <div class="feature-item">
              <div class="feature-icon">⭐</div>
              <div class="feature-content">
                <h3>收藏功能</h3>
                <p>可以将重要笔记添加到收藏夹，方便快速访问</p>
              </div>
            </div>
            
            <div class="feature-item">
              <div class="feature-icon">📤</div>
              <div class="feature-content">
                <h3>导入导出</h3>
                <p>支持将笔记导入导出，便于备份和恢复</p>
              </div>
            </div>
          </div>
          
          <div class="tips">
            <h3>使用小贴士</h3>
            <ul>
              <li>笔记标题右侧操作组使用重命名</li>
              <li>使用快捷键可以提高操作效率</li>
              <li>定期整理文件夹让笔记更有条理</li>
              <li>重要内容建议添加到收藏夹</li>
              <li>可以通过日记功能记录每日总结</li>
            </ul>
          </div>
        </div>
      </div>
    </div>
  </div>
</template>

<script setup lang="ts"></script>

<style scoped>
.mine {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  height: 100%;
  padding: 20px;
  overflow-y: auto;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 800px;
  width: 100%;
  padding: 20px 0 40px 0;
}

.logo {
  width: 100px;
  height: 100px;
  margin-bottom: 30px;
}

.instructions {
  width: 100%;
}

.instructions h1 {
  text-align: center;
  color: var(--text-primary);
  margin-bottom: 30px;
  font-size: 26px;
}

.instruction-card {
  background-color: var(--surface-color);
  border-radius: var(--border-radius);
  padding: 30px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border-color);
}

.instruction-card h2 {
  color: var(--text-primary);
  margin-bottom: 20px;
  text-align: center;
  font-size: 22px;
}

.app-description {
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 1.6;
  text-align: center;
  margin-bottom: 30px;
}

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-bottom: 30px;
}

.feature-item {
  display: flex;
  gap: 15px;
  padding: 15px;
  border-radius: var(--border-radius);
  background-color: var(--background-color);
  transition: var(--transition);
}

.feature-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

.feature-icon {
  font-size: 24px;
}

.feature-content h3 {
  color: var(--text-primary);
  margin-bottom: 8px;
  font-size: 18px;
}

.feature-content p {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.5;
}

.tips {
  background-color: var(--primary-extra-light-color);
  border-radius: var(--border-radius);
  padding: 20px;
}

.tips h3 {
  color: var(--text-primary);
  margin-bottom: 15px;
  font-size: 18px;
}

.tips ul {
  padding-left: 20px;
}

.tips li {
  color: var(--text-secondary);
  margin-bottom: 10px;
  line-height: 1.5;
}

@media (max-width: 768px) {
  .content-wrapper {
    padding: 10px 0 20px 0;
  }
  
  .instruction-card {
    padding: 20px;
  }
  
  .features {
    grid-template-columns: 1fr;
  }
  
  .mine {
    padding: 10px;
  }
}
</style>